package com.pengshun.modules.api.coal.para;

import com.pengshun.modules.api.coal.validator.First;
import com.pengshun.modules.api.coal.validator.Third;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CoalBinessPara {

    @NotNull(message = "merchantCategoryId不能为空", groups = {First.class})
    private Long merchantCategoryId;
    private Long mineMouthId;
    //热值
    private String coalCalorific;
    //煤种
    private String categoryCode;
    //工艺
    private String coalTechnologyCode;
    //硫分
    private String allSulphur;
    //灰分
    private String serchHuifen;

    private String categoryName;

    @NotNull(message = "当前页不能为空", groups = {First.class, Third.class})
    private  int page;

    @NotNull(message = "条数不能为空", groups = {First.class, Third.class})
    private  int size;

    private String category;

    private String name;

    private Integer status;
    private Integer coalCategoryId;

    private Integer sort;

    private Integer provinceId;
    private Integer cityId;
    private Integer districtId;
    private Integer level;

    //    @NotNull(message = "lngX不能为空", groups = {First.class, Second.class})
    private BigDecimal lngX;

    //    @NotNull(message = "latY不能为空", groups = {First.class, Second.class})
    private BigDecimal latY;

    private Long  userId;





}
